﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


using FXnaInfrastructure;

using FXnaWpfBase;

using FXnaGis;


namespace NSPresentation
{
    public class GridLayerVM:MDTVIViewModel
    {

        public GridLayerVM(MDTVIViewModel parent, FVectorLayer gridLayer)
            : base(parent)
        {


            this._gridLayer = gridLayer;


 
        }



        FVectorLayer _gridLayer;

        public override string Desc
        {
            get
            {
                return "平面网格";
            }
        }

        protected override void OnCheckedChanged()
        {
            if (this.IsChecked)
            {
                this._gridLayer.IsVisible = true;


            }

            else
            {
                this._gridLayer.IsVisible = false;
            }


        }

      

    }
}
